package com.iaz.tech.tools.message.impl;

import com.iaz.tech.tools.common.utils.UtilTools;
import com.iaz.tech.tools.message.NeuronMessage;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 对话消息
 */
@EqualsAndHashCode(callSuper=false)
@Data
public class MessageForTalk extends NeuronMessage{

	private String talk = "";
	
	@Override
	public String getMessage() {
		return this.talk;
	}

	@Override
	public void setMessage(String msg) {
		this.talk = UtilTools.Trim(msg);
	}
}
